package com.restaurant.application.qrcode.support;

import com.nebutown.base.ViewSpec;
import com.nebutown.base.data.View;
import com.nebutown.generation.basictype.UID;
import com.nebutown.supporthome.AbstractBase;
import com.restaurant.application.qrcode.QrCode;

public class QrCodeOutFace implements QrCode {
    private QrCodeBase base;

    public QrCodeOutFace(QrCodeBase base) {
        this.base = base;
    }

    public AbstractBase getBase() {
        return this.base;
    }

    @Override
    public void createQr(String arg0, UID arg1, String arg2, Integer arg3) {
        base.call("createQr", arg0, arg1, arg2, arg3);
    }

    @Override
    public UID getId() {
        return (UID) base.call("getId");
    }

    @Override
    public Class getEffectiveInterface() {
        return (Class) base.call("getEffectiveInterface");
    }

    @Override
    public View getFullView() {
        return (View) base.call("getFullView");
    }

    @Override
    public View getViewLead(ViewSpec arg0) {
        return (View) base.call("getViewLead", arg0);
    }
}
